package com.haier.vo;

import java.io.Serializable;
import java.util.Date;

import com.haier.constant.HpConstant;

import lombok.Data;

@Data
public class HpGoApplyVo implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;
	private String proposer;
	private String proposerNo;
	private String auditor;
	private String auditorNo;
	private String garden;
	private String area;
	private String dateDay;
	private String goCount;
	private Integer status;
	private Date createTime;
	private String applyReason;
	private String proposerStatusDetail;
	private String auditorStatusDetail;
	private String statusName;//返回页面状态
	private String createTimeStr;//返回页面创建时间
	private String authorizerId;//授权人
	private String authorizerName;//授权人
	private String detailId;//详情id
	private String areaId;// 区域id

	public String getProposerStatusDetail() {
		if (proposerStatusDetail != null) {
			return proposerStatusDetail;
		}
		if (status == null) {
			return null;
		}
		return proposerStatusDetail = HpConstant.HP_GO_APPLY_PROPOSER_STATUS_MAP.get(status);
	}

	public String getAuditorStatusDetail() {
		if (auditorStatusDetail != null) {
			return auditorStatusDetail;
		}
		if (status == null) {
			return null;
		}
		return auditorStatusDetail = HpConstant.HP_GO_APPLY_AUDITOR_STATUS_MAP.get(status);
	}

}
